Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature non behavior ophys nwb #2664

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Ahad-Allen
Copy link
Contributor

Overview:

Currently, the nwb modules for Ophys conversion are specialized for behavior ophys files. Unfortunately, there are some problems caused by this when trying to convert sessions which are non-behavior ophys. This PR seeks to handle this by creating similar modules which are optimized for non-behavior use cases. There are some project specific changes here that I can edit to help make the modules more universal, based on your feedback.

Addresses:

This addresses concerns of the OpenScope team, rather than any issues from the AllenSDK's ticket system. I can create a relevant ticket if that would be helpful?

Type of Fix:

  • New feature (non-breaking change which adds functionality)

Solution:

  • Created non-behavior ophys modules which emulate the functionalities of the original modules
  • Modified some intermediary modules, such as the DFF traces to not rely on behavior-specific inputs (there may be changed needed to prevent this from being breaking?)

Validation:

Screenshots:

Unit Tests:

Script to reproduce error and fix:

Configuration details:

The OpenScope team has been using this modified version of the SDK to generate files for the dendrite coupling team without errors. These files also pass dandi validation metrics. The files are created using python 3.7 and the Allen Institute's slurm cluster.

Notes:

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ Ahad-Allen
❌ Ahad Bawany


Ahad Bawany seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants